package cn.edu.scau.cmi.wangzm.client;

import java.util.Scanner;

import cn.edu.scau.cmi.wangzm.abstractfactory.AbstractFactory;
import cn.edu.scau.cmi.wangzm.abstractfactory.AonongFactory;
import cn.edu.scau.cmi.wangzm.abstractfactory.ConsumerSelect;
import cn.edu.scau.cmi.wangzm.abstractfactory.TianBangFactory;
import cn.edu.scau.cmi.wangzm.abstractfactory.WensFactory;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AbstractFactoryClient extends Application{
    private Stage primaryStage;

    public AbstractFactoryClient() {
		// TODO Auto-generated constructor stub
	}
	@Override
	public void start(Stage primaryStage) throws Exception {
		// TODO Auto-generated method stub
		this.primaryStage = primaryStage;
        this.primaryStage.setTitle("实验二：抽象工厂");
        Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/wangzm/abstractfactory/AbstactFactory.fxml"));
        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.show();
	}
    public static void main(String[] args) {
        launch(args);
    }

}
